<html>
    <head>
        <title>Uploading File </title>
        <?=css('style') ?>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    </head>
    <body>
        <div id="container">
            <h1>Etape 1 :</h1>
            <h2>Telechargement du reseource</h2>
         <?php if (isset($error)) :?><div class='error' ><?=$error ?> </div> <?php endif; ?>

        <?php echo form_open_multipart(base_url('upload_svg/step_one')); ?>
         <label for="project_name">Nom du projet </label>
         <input type="text" name="project_name" value="<?=  set_value('project_name')?>"><?=form_error('project_name')?><br>
         <label for="project_name">Emplacement des Resource: </label>
         
         <input type="file" name="project_res" size="20" /><br><br>
         <input type="submit" class="submit" value="suivant" />
         </form>
         <a href="<?= base_url('/upload_svg/ziper')?>" >Test</a>
        <p>
            <?php
            if (isset($upload_data) && !empty($upload_data)) {
                foreach ($upload_data as $key => $value)
                    echo "<p>$key : $value</p>";
            }
            ?>
        </p>
            
        </div>
</body>
</html>

